/**
 * 
 */
package com.ap.core.businessruledetails.service.impl;

import com.ap.core.businessruledetails.service.MessageBusinessRuleDetailsService;
import com.ap.core.dao.MessageBusinessRuleDetailsDao;
import com.ap.core.domain.MessageBusinessRuleDetails;
import com.ap.core.domain.MessageBusinessRuleDetailsId;

/**
 * @author Dilip.Sridhar
 *
 */
public class MessageBusinessRuleDetailsServiceImpl implements MessageBusinessRuleDetailsService {
	
	private MessageBusinessRuleDetailsDao messageBusinessRuleDetailsDao;

	@Override
	public MessageBusinessRuleDetails getMessageBusinessRuleDetails(MessageBusinessRuleDetailsId messageBusinessRuleDetailsId) {
			 
		return messageBusinessRuleDetailsDao.findById(messageBusinessRuleDetailsId);
	}


	/**
	 * @param messageBusinessRuleDetailsDao the messageBusinessRuleDetailsDao to set
	 */
	public void setMessageBusinessRuleDetailsDao(
			MessageBusinessRuleDetailsDao messageBusinessRuleDetailsDao) {
		this.messageBusinessRuleDetailsDao = messageBusinessRuleDetailsDao;
	}

}
